

<div class="navbar-default sidebar" role="navigation">
    <div class="sidebar-nav navbar-collapse">
        <ul class="nav" id="side-menu">
            <li class="sidebar-search" style="display:none">
                <div class="input-group custom-search-form">
                    <input type="text" class="form-control" placeholder="Search...">
                    <span class="input-group-btn">
                    <button class="btn btn-default" type="button">
                        <i class="fa fa-search"></i>
                    </button>
                </span>
                </div>
                <!-- /input-group -->
            </li>

            @foreach( $menus as $menu )
                @if( isset($menu['children']))
                <li>
                    <a href="#"><i class="fa fa-fw @if(empty($menu['icon']))fa-wrench @else{{$menu['icon']}}@endif"></i>&nbsp;{{$menu['title'] }}<span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">
                        @foreach ($menu['children'] as $li)
                        <li>
                            <a href="{{ $admin_bash_url.$li['url'] }}">{{$li['title']}}</a>
                        </li>
                        @endforeach
                    </ul>
                    <!-- /.nav-second-level -->
                </li>
                @else
                <li>
                    <a href="{{ $admin_bash_url.$menu['url'] }}"><i class="fa fa-fw @if(empty($menu['icon']))fa-wrench @else{{$menu['icon']}}@endif"></i>&nbsp;{{$menu['title']}}</a>
                </li>
                @endif
            @endforeach
        </ul>
    </div>
    <!-- /.sidebar-collapse -->
</div>